using System;
using log4net;
using NetBpm.Workflow.Organisation;
using NetBpm.Workflow.Delegation;
using NetBpm.Workflow.Delegation.Impl.Assignment;


namespace BEGDC.CC.BL.Workflow
{
	/// <summary>
	/// Get 
	/// </summary>
	public class CCRoleAssignment : IAssignmentHandler
	{
		private static readonly ILog log = LogManager.GetLogger(typeof (CCRoleAssignment));

		/// <summary>
		/// 
		/// </summary>
		/// <param name="assignmentContext"></param>
		/// <returns></returns>
		public String SelectActor(IAssignmentContext assignmentContext)
		{
			string role = (string) assignmentContext.GetConfiguration()["role"];
			return role;
		}
	}
}